## 定义装饰器, 修改返回值
def decorator(func):
    def wrapper(*arg,**kwargs):
        result = func(*arg,**kwargs)
        return result * 2
    return wrapper

@decorator
def multiply(a,b):
    return a * b


print(multiply(2, 3))
